對於 Informix DB 而言,是ksh
顯示目前正在執行的 shell 名稱
echo $0
終端介面輸入:
ksh
R
then 取代游標上的字 by 新的字A
then 在游標後append字I
: insert mode
(A) .profile file
(B) Automate startup and shutdown on UNIX
INFORMIXDIR
the full path name of the directory in which the database server is installed
INFORMIXSERVER
the sysmaster database can be updated (or created, if necessary)
INFORMIXSQLHOSTS
If you store the information in another location, you must set the INFORMIXSQLHOSTS environment variable.
(A+B) What's in .profile
?
export INFORMIXDIR=/usr/ifx_instance/informix_X
export INFORMIXSQLHOSTS=$INFORMIXDIR/etc/sqlhost_X
export INFORMIXSERVER=[主機]